<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="shortcut icon" href="${ctx}/common/images/icon/favicon.ico" />

<%-- Bui样式 --%>
<link href="${ctx}/public/bui/css/bs3/dpl-min.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/public/bui/css/bs3/bui-min.css" rel="stylesheet" type="text/css" />

<%-- 统一样式 --%>
<link rel="stylesheet" type="text/css" href="${ctx}/common/css/style.css">
<%-- 表单样式 --%>
<link href="${ctx}/common/css/form-control.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="${ctx}/public/jQuery/js/jquery.min.js"></script>
<script type="text/javascript" src="${ctx}/public/jQuery/js/jquery.md5.js"></script>
<script type="text/javascript" src="${ctx}/public/jQuery/js/jquery.form.js"></script>
<%-- Bui脚本文件 --%>
<script type="text/javascript" src="${ctx}/public/bui/bui-min.js"></script>

<%-- 公共类方法 --%>
<script type="text/javascript" src="${ctx}/common/class/common.class.js"></script>
<script type="text/javascript" src="${ctx}/common/class/matches.class.js"></script>
<%-- BUI公用方法 --%>
<script type="text/javascript" src="${ctx}/common/class/builive.class.min.js"></script>
<script type="text/javascript" src="${ctx}/common/class/message.class.min.js"></script>

<script type="text/javascript">
    var ctx = "${ctx}";
    var webRoot=ctx+"/";
    var CommonClass  = new CommonClass();
    var MatchesClass  = new MatchesClass();
    var Bui  = new BUIClass();
    var Message  = new MessageClass();

    //禁止页面回车事件
    $(document).keydown(function(event){
        switch(event.keyCode){
            case 13:return false;
            case 27:
                for(var i=-1;i<9;i++){
                    var id = i==-1?"dialog":"dialog"+i;
                    var dialog = BUI.getControl(id);
                    if(dialog){
                        dialog.show();dialog.hide();
                    }
                }
                return;
        }
    });
</script>